package com.zerdoor.service;

import java.util.Map;

/**
 * 收藏夹业务层接口
 * Created by zhongjieyu on 2014/12/26.
 */
public interface IFavoriteService {


    /**
     * 添加到收藏夹
     * @param user_id 用户ID
     * @param collect_id 当前收藏品ID
     * @param type 收藏类别
     * @throws Exception
     */
    String addFavorite(int user_id,int collect_id,int type) throws Exception;


    /**
     * 根据参数信息查找收藏信息
     * @param user_id 用户ID
     * @param collect_id 当前收藏品ID
     * @param type 收藏类别
     * @return
     * @throws Exception
     */
    String findFavorite(int user_id,int collect_id,int type) throws Exception;


    /**
     * 根据收藏ID 删除收藏信息
     * @param favoriteId
     * @throws Exception
     */
    void deleteFavorite(int favoriteId,int collectId,int type) throws Exception;


}
